package com.zsck.pos.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.chinaums.commoncheck.R;
import com.zsck.pos.bean.Project;

import org.jetbrains.annotations.NotNull;

import java.util.List;

public class PopProjectAdapter extends BaseQuickAdapter<Project, BaseViewHolder> {

    public PopProjectAdapter(List<Project> data) {
        super(R.layout.pop_item, data);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder baseViewHolder, Project project) {
        baseViewHolder.setText(R.id.text_item, project.getName());
    }
}
